package com.zhengxin.web;

import com.opensymphony.xwork2.ActionSupport;

//主要是用于访问WEB-INF的资源action
public class MainAction extends ActionSupport{

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	public String execute() {
		return SUCCESS;
	}
	
	//对应页面顶部
	public String top() {
		return "top";
	}
	
	//对应页面左侧菜单
	public String menu() {
		return "menu";
	}
	
	//对应页面正文(右边)
	public String index() {
		return "index";
	}
	
	//测试的action
	public String test() {
		return "test";
	}
}
